package com.share.dao.sysmgr.privilege;

import java.util.List;

import com.share.bean.sysmgr.privilege.PrivilegeResource;


/**
 * <p>Title：权限资源DAO接口</p>
 * <p>Description：</p>
 * @Author 杨浩泉
 * @Date 2010-2-28
 */
public interface PrivilegeResourceDao {

	public void saveResourceDao(PrivilegeResource res) throws RuntimeException ;
	
	public void deleteResourceDao(int id) throws RuntimeException ;
	
	public void updateResourceDao(PrivilegeResource res) throws RuntimeException ;
	
	public PrivilegeResource queryByIdResourceDao(int id) throws RuntimeException; 
	
	public List<PrivilegeResource> queryResourceDao(String hql) throws RuntimeException ;
	
}
